package com.smap.core;

public class MapStatus {
	public double x;
	public double y;
	public int zoom;

	public MapStatus(double x, double y, int zoom) {
		super();
		this.x = x;
		this.y = y;
		this.zoom = zoom;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MapStatus other = (MapStatus) obj;
		if (y != other.y)
			return false;
		if (x != other.x)
			return false;
		if (zoom != other.zoom)
			return false;
		return true;
	}

}
